package com.eco.fanliapp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.eco.fanliapp.entity.SyTimePeriodAppointment;

/**
 * <p>
 * 预约抢购表 服务类
 * </p>
 *
 * @author jobob
 * @since 2019-09-23
 */
public interface ISyTimePeriodAppointmentService extends IService<SyTimePeriodAppointment> {

    /**
     * 根据userID和itemid查询预约商品
     */
    SyTimePeriodAppointment findAppointmentByItemIdAndUserId(Long itemId, Long userId);
}
